STEP 5: Let's reformat the date so that it shows the full year instead of only the last two digits.
- Locate this line of code from the last activity: my_date·=·my_datetime.strftime("%m/%d/%y")¬
- Inside the parentheses, change the lowercase y into an uppercase Y.
- This small difference will change our date format from a two-digit year to a four-digit year.
- Click Run then click on the Console button to see the newly formatted date!
To navigate the page using the TAB key, first press ESC to exit the code editor.